package summer_vacation.lvchang.myyVacation;
import java.util.Scanner;
/**
 * Created by Administrator on 2015/9/6.
 */
public class Text22 {
        public static void main(String[] args){

            System.out.println("请输入一个正整数：");

            Scanner i = new Scanner(System.in);

            int a = i.nextInt();

            if(a % 5 == 0 && a % 7 == 0){

                System.out.println(a+"即能被5整除又能被7整除！");

            }else{

                System.out.println(a+"不能被5和7同时整除！");

            }

        }

    }

